package org.finesys.ai.service.impl;

import org.finesys.ai.convert.AigcConversationConvert;
import org.finesys.ai.entity.AigcConversation;
import org.finesys.ai.mapper.AigcConversationMapper;
import org.finesys.ai.service.AigcConversationService;
import org.finesys.ai.vo.AigcConversationExcelVO;
import org.finesys.common.mp.core.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AigcConversationServiceImpl extends BaseServiceImpl<AigcConversationMapper, AigcConversation> implements AigcConversationService {


    @Override
    public List<AigcConversationExcelVO> listExcel() {
        List<AigcConversation> list = this.list();
        return AigcConversationConvert.INSTANCE.convertList(list);
    }
}
